package com.tianji.coupon.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tianji.coupon.mapper.LogSmsMapper;
import com.tianji.coupon.pojo.LogSms;
import com.tianji.coupon.service.LogSmsService;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 短信记录发送表 服务实现类
 * </p>
 *
 * @author 陈佳
 * @since 2024-10-07
 */
@Service
public class LogSmsServiceImpl extends ServiceImpl<LogSmsMapper, LogSms> implements LogSmsService {

    @Async("saveAsyncLogExecutor")
    @Override
    public void saveAsync(LogSms logSms) {
        save(logSms);
    }
}
